package com.sky.mapper;

import com.sky.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderDetailMapper {
    void batchSave(@Param("list") List<OrderDetail> list);

    List<OrderDetail> findByOrderId(Long orderId);
}
